//
// C++ Interface: mainwindow
//
// Description: 
//
//
// Author: javier,,, <javier@javier-laptop>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "ui_mainwindow.h"

/**
	@author javier,,, <javier@javier-laptop>
*/
class mainWindow : public QMainWindow{
Q_OBJECT
  public:
    mainWindow(QWidget *parent = 0);
    ~mainWindow();
    qTankList *tankListPointer;
    
  private:
    Ui::mainWindow ui;
    
  public slots:
    void setTankList(vector<tCandidate>*);
    void tankSelect(int);
    
    void setEventsList(vector<tEventsummary>*);
    
    void setValue(pmtTrace* trace); //traces
    
    void showDetButton(bool checked);
    void showRefButton(bool checked);
    void showInfButton(bool checked);
    
  signals:
    void externalTankSelect(int,eLT,int); //tankList
    void eventSelected(int); //events list
    void abrir();
    void salir();
    void showDet(bool checked);
    void showRef(bool checked);
    void showInf(bool checked);
};

#endif
